using System;
using System.Reflection;
using System.Threading;
class t1
{
    public static void main()
    {
        //DateTime nowTime = DateTime.Now;
        //string endTime = nowTime.ToString("yyyy-MM-ddTHH:mm:ssZ");
        //Console.Write(endTime.ToString());

        //JavaScriptSerializer searal = new JavaScriptSerializer();



        //System.Type type = System.Type.GetTypeFromProgID("MSScriptControl.ScriptControl");
        //Object script = System.Activator.CreateInstance(type);
        //type.InvokeMember("language", BindingFlags.SetProperty, null, script, new Object[] { "JavaScript" });
        //type.InvokeMember("AddCode", BindingFlags.InvokeMethod, null, script, new Object[] { "function test(){return 1;return new Date().getTime().toString(36)}" });

        //var a=type.InvokeMember("Run", BindingFlags.InvokeMethod, null, script, new Object[] { "test" }).ToString();
        //Console.WriteLine(a);


        //Class4.work();




    }



    class Class4
    {
        public static void work()
        {
            Class4 c4 = new Class4();
            Thread nt = new Thread(new ThreadStart(c4.display));
            nt.Start();
            c4.display();
        }

        void display()
        {

            //lock (this)


                for (int i = 1; i < 100; i++)
                {
                    Console.WriteLine(i);
                }
        }
    }
}